import Vue from "vue";
import App from "./App.vue";
import ElementUI from "element-ui";
import router from "@/router";
import store from "@/store";
import VueCookie from "vue-cookie";
import httpRequest from "@/utils/httpRequest";
import "bootstrap/dist/css/bootstrap.css";
import "font-awesome/less/font-awesome.less";
import "element-ui/lib/theme-chalk/index.css";

// 可以直接使用axios将其挂在Vue的原型链上，也可以使用vue-axios
// 这里使用了axios
Vue.use(ElementUI);
Vue.use(VueCookie);

Vue.config.productionTip = false;
Vue.prototype.$http = httpRequest;
new Vue({
  render: h => h(App),
  router,
  store
}).$mount("#app");